//
// Created by liaojili on 2023/11/11.
//

#include <stdio.h>
# define ROWS 3
# define COLS 5
void main(){

    int arr[ROWS][COLS] = {
            {3, 5, 8},
            {12, 9},
            {7, 0, 6, 4}
    };
    int sum = 0;
    int max = arr[0][0];
    for (int i = 0; i < ROWS; ++i){
        for (int j = 0; j < COLS; ++j) {
           if(max < arr[i][j]){
               max = arr[i][j];
           }
        }
    }
    printf("%d",max);

}